package com.pudu.mydemo.Receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import com.pudu.mydemo.entity.FileUpload;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by lgq on 2016/8/27.
 */
public class AlarmReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

        //日志文件文件上传到服务器
        FileUpload fp = new FileUpload();
		fp.uploadFile(context);
        Log.i("LogPrint","闹钟响了~~~");
    }
}
